package com.bstu.siit.lab1;
/**
 * @author Victoria Sadko
 *
 */
public class Main {
	public static void main(String[] args) {
		int iteration=0;
		Population pop1=new Population(40,20);
		do
		{
			System.out.println(iteration+"   "+pop1.average());
			pop1.sort();
			pop1.newGeneration();
			iteration++;
		}
		while (!pop1.stopMarker());
		System.out.println(iteration+"   "+pop1.average());
	}
}
